﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QLZJFurnitureSCM.WinForm
{
    public partial class FrmLogin : Form
    {
        public FrmLogin()
        {
            InitializeComponent();
        }

        public string userName = string.Empty;
        public string userPwd = string.Empty;

        private void FrmLogin_Load(object sender, EventArgs e)
        {
            //this.panelLogin.BackColor = Color.Transparent;
            //this.TransparencyKey = BackColor;
            //this.txtUserName.BackColor = this.TransparencyKey;
            //this.txtUserPwd.BackColor = this.TransparencyKey;
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {
            this.userName = this.txtUserName.Text;
            this.userPwd = this.txtUserPwd.Text;
            if (string.IsNullOrEmpty(this.userName) || string.IsNullOrEmpty(this.userPwd))
                return;
        }

        private void FrmLogin_Shown(object sender, EventArgs e)
        {

        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
